@extends('templates.generalstructure')

@section('css')
	@parent
	{{ HTML::style('assets/css/galeria2.css') }}
@stop

@section('contenido')

	<div id="wrapper-galeria">
				<!-- TOP -->

				<div class="galleria">
				
				
				@foreach($fotos as $foto)
    				{{ HTML::image(URL::asset('assets/img/torneos/'.$foto->url)) }}
   				@endforeach
   					
   					 
				</div>
				
			</div>
@stop

@section('js')
	@parent
	@if($fotos->count())
	{{ HTML::script('assets/js/galleria/galleria-1.3.5.min.js') }}
	<script>
		Galleria.loadTheme('{{ URL::asset('assets/js/galleria/themes/classic/galleria.classic.min.js') }}');
		Galleria.run('.galleria');
	</script>
	@endif
@stop
